/* eslint-disable max-len */
import { ProjectSpecification } from "@/mdesign-lib/mdesign-app.umd.js";
import { CustomSystemConfig } from "./customSystemConfigTypes";

export const config: CustomSystemConfig = {
  hideCSMTransform: false,
  hideModelLibrary: false,
  theme: {
    rootStyle: {
      "--theme-background-color": "#3F4AA6",
      "--background-color-active": "#7177CC",
      "--md-frame-title-bg-color": "#3F4AA6",
      "--md-toolbar-bg-color": "#ecf4ff",
      "--md-tab-bg-color": "#e6f0ff",
      "--md-special-text-color": "#fff",
      "--md-theme-color": "#1890ff"
    },
    introduction: {
      title: "M-Arch",
      image: "statics/theme/m-design/product-introduction.png",
      contentPaddingR: "267px"
    },
    recentProjects: {
      title: "欢迎使用M-Arch，建模让世界更清晰",
      class: ""
    },
    createProject: [
      {
        id: 1,
        name: "UAF项目",
        attrTipType: "UAF Project",
        projectSpecification: ProjectSpecification.UAF,
        standard: "UAF v1.2",
        icon: "statics/arch/theme/DoDAF2.0.png",
        modifyModels: false
      },
      {
        id: 2,
        name: "UAF模板项目",
        attrTipType: "UAF Project",
        projectSpecification: ProjectSpecification.UAF,
        standard: "UAF v1.2",
        icon: "statics/arch/theme/DoDAF2.0.png",
        templatePath: "arch/projectTemplate/UAF-project-template-1.md3",
        modifyModels: true
      },
      {
        id: 3,
        name: "DoDAF项目",
        attrTipType: "DoDAF Project",
        projectSpecification: ProjectSpecification.DODAF,
        standard: "DoDAF v2.0",
        icon: "statics/arch/theme/DoDAF2.0.png",
        modifyModels: false
      },
      {
        id: 4,
        name: "DoDAF模板项目",
        attrTipType: "DoDAF Project",
        projectSpecification: ProjectSpecification.DODAF,
        standard: "DoDAF v2.0",
        icon: "statics/arch/theme/DoDAF2.0.png",
        templatePath: "arch/projectTemplate/DoDAF-project-template-1.md3",
        modifyModels: true
      },
      {
        id: 5,
        name: "UPDM项目",
        attrTipType: "UPDM Project",
        projectSpecification: ProjectSpecification.UPDM,
        standard: "UPDM 2",
        icon: "statics/arch/theme/DoDAF2.0.png",
        modifyModels: false
      },
      {
        id: 6,
        name: "EWX联合仿真项目",
        attrTipType: "VIRE Project",
        projectSpecification: ProjectSpecification.DODAF,
        standard: "VIRE",
        icon: "statics/arch/theme/DoDAF2.0.png",
        modifyModels: false,
        customizationProfiles: [
          {
            profileName: "VIRE" /** 未尔定制包 */,
            profileVersion: 1
          }
        ]
      }
    ],
    launch: {
      img: "statics/arch/theme/launch.png",
      top: "",
      height: 336
    },
    login: {
      img: "statics/theme/m-design/login-bg.png"
    },
    videoCourseList: {
      img: "statics/arch/theme/video-course-list.svg"
    },
    industryCaseList: {
      img: "statics/theme/m-design/industry-case-list.png"
    },
    about: {
      img: "statics/arch/theme/about.svg",
      support: ""
    },
    windowBar: {
      img: "statics/arch/theme/topbar-logo.svg"
    },
    newGraph: {
      img: "statics/theme/m-design/new-graph.svg"
    }
  },
  demoList: {
    coverd: true,
    data: [
      // {
      //   name: '海上救援',
      //   path: "/files/project/海上救援-UAF.md3",
      //   type: "project",
      //   img: "statics/images/draw/archdemo_3.png",
      //   describe: "体系案例模型-UAF",
      //   fileName: "/海上救援-UAF.md3",
      // },
      {
        name: "DoDAF示例项目",
        path: "/files/project/示例项目-DoDAF.md3",
        type: "project",
        img: "statics/images/draw/archdemo_3.png",
        describe: "示例项目-DoDAF",
        fileName: "/示例项目-DoDAF.md3",
        size: 18137
      },
      {
        name: "海上救援",
        path: "/files/project/海上救援-DoDAF.md3",
        type: "project",
        img: "statics/images/draw/archdemo_1.png",
        describe: "体系案例模型-DoDAF",
        fileName: "/海上救援-DoDAF.md3",
        size: 597
      }
      // {
      //   name: '家用电器',
      //   path: "/files/project/家用电器.md3",
      //   type: "project",
      //   img: "statics/images/draw/archdemo_2.png",
      //   describe: "体系案例模型",
      //   fileName: "/家用电器.md3",
      // }
    ]
  },
  otherProduct: [
    { img: "statics/images/draw/otherProductMRequire.png", title: "M-Require", desc: "需求管理系统", content: "projectDec.Require" },
    // { img: 'statics/images/draw/otherProductMArch.png', title: 'M-Arch', desc: 'UAF体系架构建模工具', content: "projectDec.Arch" },
    { img: "statics/images/draw/otherProductMArch.png", title: "M-Design", desc: "SysML系统建模与仿真工具", content: "projectDec.Design" },
    {
      img: "statics/images/draw/otherProductMReliability.png",
      title: "M-Reliability",
      desc: "可靠性分析工具",
      content: "projectDec.Reliability"
    },
    { img: "statics/images/draw/otherProductMLinker.png", title: "M-Linker", desc: "数字化集成平台", content: "projectDec.Linker" },
    { img: "statics/images/draw/otherProductMCowork.png", title: "M-Cowork", desc: "云协同设计中台", content: "projectDec.Cowork" }
  ],
  website: "http://www.mbse.com.cn/",
  stereotypeConfigs: {},
  checkVersion: false,
  hideProductCase: false,
  attrTips: {
    OperationalExchange: {
      title: "创建/编辑@:{'terminology.operational'}交换",
      icon: "welcomeiconxsglys.svg",
      text: "通过指定传递的项和方向，创建新的或编辑现有的@:{'terminology.operational'}交换。"
    },
    ResourceExchange: {
      title: "创建/编辑资源交换",
      icon: "welcomeiconxsglys.svg",
      text: "通过指定传递的项和方向，创建新的或编辑现有的资源交换。"
    },
    ServiceExchange: {
      title: "创建/编辑服务交换",
      icon: "welcomeiconxsglys.svg",
      text: "通过指定传递的项和方向，创建新的或编辑现有的服务交换。"
    },
    StrategicExchange: {
      title: "创建/编辑战略交换",
      icon: "welcomeiconxsglys.svg",
      text: "通过指定传递的项和方向，创建新的或编辑现有的战略交换。"
    },
    ChartProperty: {
      title: "设置图表属性",
      icon: "welcomeiconxsglys.svg",
      text: "指定图表的显示样式。"
    },
    OperationalExchangeManager: {
      title: "OperationalExchangeManagerTitle",
      icon: "welcomeiconxsglys.svg",
      text: "OperationalExchangeManagerText"
    },
    ResourceExchangeManager: {
      title: "ResourceExchangeManagerTitle",
      icon: "welcomeiconxsglys.svg",
      text: "ResourceExchangeManagerText"
    },
    ServiceExchangeManager: {
      title: "ServiceExchangeManagerTitle",
      icon: "welcomeiconxsglys.svg",
      text: "ServiceExchangeManagerText"
    },
    StrategicExchangeManager: {
      title: "StrategicExchangeManagerTitle",
      icon: "welcomeiconxsglys.svg",
      text: "StrategicExchangeManagerText"
    },
    ChooseDir: {
      title: "选择目录",
      icon: "welcomeiconxsglys.svg",
      text: "选择一个已存在的目录。"
    },
    TrackEditor: {
      title: "轨迹说明",
      icon: "track.svg",
      text: "轨迹点为平台运行的轨迹，支持添加多组轨迹数据，平台运行轨迹将按照轨迹排序顺序执行。默认第一组为起始点。"
    },
    TaskArea: {
      title: "任务区域",
      icon: "track.svg",
      text: "任务区域为任务目标所在的区域范围，支持添加多组区域轨迹数据，目标任务范围将按照轨迹所圈定的范围执行。"
    },
    pluginManager: {
      title: "插件管理",
      icon: "pluginManager.svg",
      text: "添加插件以获得更丰富的功能。"
    }
  },
  EWX: true,
  LY: false
};
